using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TekaMUD.Engine.Behaviour;

namespace TekaMUD.Engine.Blocks
{
	/// <summary>
	/// A generic key. Must be assigned a particular combination lock and it will open any doors that 
	/// match that particular combination lock.
	/// </summary>
	public class Key : GameObject, IPickable
	{
		public Guid CombinationCode { private set; get; }

		public Key(Guid combinationCode, string keyName) : base()
		{
			this.Name = keyName;
			this.CombinationCode = combinationCode;
			this.ExamineDescription = "An ordinary key lays here.";
			this.Article = GameObjectArticle.a;
			this.LookDescription = ExamineDescription;
			this.Synonyms = new String[] { "key" };
		}
	}
}
